package com.xmy.cultivate.service;

import com.xmy.cultivate.entity.RecordCourse;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 记上课 服务类
 * </p>
 *
 * @author hpiggy
 * @since 2023-08-17
 */
public interface IRecordCourseService extends IService<RecordCourse> {
    String getYetLessonNumStr(Integer yearPart,
                              Integer quarterNum,
                              Long subjectsId,
                              Integer lessonType,
                              Long studentId,
                              String dateTimeNow
    );

    Integer getNotPassCount(@Param("yearPart") Integer yearPart,
                            @Param("quarterNum") Integer quarterNum,
                            @Param("studentId") Long studentId,
                            @Param("nowLocalDate") String nowLocalDate,
                            @Param("startDateTime") String startDateTime
    );
}
